<%--
  Created by IntelliJ IDEA.
  User: huangxianlong
  Date: 2021/4/1
  Time: 16:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title> 登录页</title>
</head>
<link rel="stylesheet" href="<%= request.getContextPath()%>/css/login.css">
<!-- 引入 layui.css -->
<link rel="stylesheet" href="//unpkg.com/layui@2.6.7/dist/css/layui.css">
<!-- 引入 layui.js -->
<script src="//unpkg.com/layui@2.6.7/dist/layui.js"></script>
<body>
<div class="layui-card">
    <div class="layui-card-header">登录</div>
    <div class="layui-card-body">
        <div class="login">
            <form action="<%= request.getContextPath() %>/login" method="post">
                <div class="input">账号：
                    <input class="input_txt" type="text" name="user_id" placeholder="请输入账号">
                </div>
                <div class="input">密码：
                    <input class="input_txt" type="password" name="user_pwd" placeholder="请输入密码">
                </div>
                <button class="but_login" type="submit">登录</button>
            </form>
            <a href="<%= request.getContextPath() %>/register.jsp">没有账号？<span style="color: #9675e3">去注册</span></a>
        </div>
    </div>
</div>

</body>
<%--通用代码，每个页面都引入--%>
<%@ include file="./currency/base.jsp" %>
</html>